<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>班级管理</title>
		<link rel="stylesheet" type="text/css" href="../js/layui/css/layui.css" />
		<style>
			.layui-form-item .layui-inline {
				margin-right: 0px;
			}

			#pics {
				display: flex;
				flex-direction: row;
				flex-wrap: wrap;
				margin-left: 30px;
			}

			#pics div {
				margin-left: 10px;
				margin-right: 10px;
			}
		</style>
	</head>
	<body>
		<form class="layui-form" action="">
			<div class="layui-form-item">
				<div class="layui-inline">
					<label class="layui-form-label">班级名称</label>
					<div class="layui-input-inline">
						<select name="Cname" id="Cname" lay-search="">
							<option value="">直接搜索选择</option>
							<option value="20网络10班">20网络10班</option>
							<option value="20网络11班">20网络11班</option>
							<option value="20网络9班">20网络9班</option>
						</select>
					</div>
				</div>
				<div class="layui-inline">
					<label class="layui-form-label">所属系别</label>
					<div class="layui-input-inline">
						<select name="Deptid" id="Deptid">
							<option value="">请选择所属系别</option>
							<option value="1">电子信息系</option>
							<option value="2">师范学院</option>
							<option value="3">幼师学院</option>
						</select>
					</div>
				</div>
				<!-- <div class="layui-inline">
					<label class="layui-form-label">老师姓名</label>
					<div class="layui-input-inline">
						<select name="Tname" id="Tname" lay-search="">
							<option value="">直接搜索选择</option>
							<option value="1">1</option>
							<option value="2">2</option>
							<option value="3">3</option>
						</select>
					</div>
				</div> -->
				<div class="layui-inline">
					<label class="layui-form-label">建班时间</label>
					<div class="layui-inline" id="test6">
						<div class="layui-input-inline">
							<input type="text" autocomplete="off" id="test-startDate-1" class="layui-input"
								placeholder="开始日期">
						</div>
						<div class="layui-form-mid">-</div>
						<div class="layui-input-inline">
							<input type="text" autocomplete="off" id="test-endDate-1" class="layui-input"
								placeholder="结束日期">
						</div>
					</div>
					<div class="layui-inline">
						<button type="button" class="layui-btn" lay-submit="" lay-filter="demo1">查询</button>
					</div>
				</div>
			</div>
		</form>
		<table class="layui-hide" id="test" lay-filter="test"></table>

		<form class="layui-form" action="" id="classForm" lay-filter="classForm" style="display: none;">
			<div class="layui-form-item">
				<label class="layui-form-label">ID</label>
				<div class="layui-input-block">
					<input type="text" name="cid" id="cid" readonly="readonly" autocomplete="off" placeholder="请输入班级ID"
						class="layui-input">
				</div>
			</div>
			<div class="layui-form-item">
				<label class="layui-form-label">班级名称</label>
				<div class="layui-input-block">
					<input type="text" name="cname" id="cname" lay-verify="required" autocomplete="off"
						placeholder="请输入班级名称" class="layui-input">
				</div>
			</div>
			<div class="layui-form-item">
				<label class="layui-form-label">班级人数</label>
				<div class="layui-input-block">
					<input type="text" name="num" id="num" lay-verify="required" autocomplete="off"
						placeholder="请输入班级人数" class="layui-input">
				</div>
			</div>
			<div class="layui-form-item">
				<label class="layui-form-label">系别编号</label>
				<div class="layui-input-block">
					<input type="text" name="deptid" id="deptid" lay-verify="required" autocomplete="off"
						placeholder="请输入系别编号" class="layui-input">
				</div>
			</div>
			<div class="layui-form-item">
				<label class="layui-form-label">教师编号</label>
				<div class="layui-input-block">
					<input type="text" name="tid" id="tid" lay-verify="required" autocomplete="off"
						placeholder="请输入教师编号" class="layui-input">
				</div>
			</div>
			<!-- <div class="layui-form-item">
				<label class="layui-form-label">老师姓名</label>
				<div class="layui-input-block">
					<input type="text" name="tname" id="tname" lay-verify="required" autocomplete="off"
						placeholder="请输入老师姓名" class="layui-input">
				</div>
			</div> -->
			<!-- <div class="layui-form-item">
				<label class="layui-form-label">毕业时间</label>
				<div class="layui-input-block">
					<input type="text" class="layui-input" name="createtime" id="createtime" placeholder="yyyy-MM-dd">
				</div>
			</div> -->
			<!-- <div class="layui-form-item">
					<div class="layui-input-block">
						<button type="submit" class="layui-btn" lay-submit="" lay-filter="demo2">立即提交</button>
						<button type="reset" class="layui-btn layui-btn-primary">重置</button>
					</div>
				</div> -->
		</form>
		<!-- 班级课程设定表单开始 -->
		<form class="layui-form" action="" id="classFormtwo" lay-filter="classFormtwo" style="display: none;">
			<div class="layui-form-item">
				<label class="layui-form-label">班级名称</label>
				<div class="layui-input-block">
					<input type="text" name="cname" id="cnames" lay-verify="required" autocomplete="off"
						placeholder="请输入班级名称" class="layui-input">
				</div>
			</div>
			<div class="layui-form-item">
				<label class="layui-form-label">课程名称</label>
				<div class="layui-input-block">
					<select name="coname" id="coname" lay-verify="required" lay-search="">
						<option value="">直接搜索选择</option>
					</select>
				</div>
			</div>
		</form>
		<!-- 班级课程设定表单结束 -->
		<div id="TidclassCourseListDiv" style="display: none;">
			<table class="layui-hide" id="TidclassCourseList"></table>
		</div>
	</body>
	<script type="text/html" id="toolbarDemo">
		<div class="layui-btn-container">
			<button class="layui-btn layui-btn-sm" lay-event="addData">增加班级</button>
		</div>
	</script>

	<script type="text/html" id="barDemo">
		<a class="layui-btn layui-btn-normal layui-btn-xs" lay-event="clsCourse">班级课程设定</a>
		<a class="layui-btn layui-btn-primary layui-btn-xs" lay-event="TidclassCourseList">查看课程</a>
		<a class="layui-btn layui-btn-xs" lay-event="edit">修改</a>
		<a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="delData">删除</a>
	</script>

	<script src="../js/jquery-1.8.2.min.js" type="text/javascript" charset="utf-8"></script>
	<script src="../js/layui/layui.js" type="text/javascript" charset="utf-8"></script>
	<script src="../jsp/adminclassinfoList.js" type="text/javascript" charset="utf-8"></script>
	<script src="../jsp/adminTidclassCourseList.js" type="text/javascript" charset="utf-8"></script>
</html>
